﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Dynamics.AX.Framework.Tools.ModelManagement;

namespace AxUtilUI
{
    public class ModelImportInfo
    {
        ModelContents modelContents;
        int order;
        string filename;

        public ModelContents ModelContents
        {
            get { return modelContents; }
        }

        public int Order
        {
            get { return order; }
            set { order = value; if (order < 1) order = 1; }
        }

        public string Filename
        {
            get { return filename; }
        }

        public ModelImportInfo(ModelContents modelContents, int order, string filename)
        {
            this.modelContents = modelContents;
            this.order = order;
            this.filename = filename;
        }
    }
}
